package com.yingyi.org.service;

import com.yingyi.basic.exception.BusinessException;
import com.yingyi.basic.service.IBaseService;
import com.yingyi.org.domain.Shop;
import com.yingyi.org.domain.ShopAuditLog;
import com.yingyi.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

public interface IShopService extends IBaseService<Shop> {

    void settlement(Shop shop) throws BusinessException;

    void shopAuditPass(ShopAuditLog log) throws MessagingException;

    void shopAuditReject(ShopAuditLog log) throws MessagingException;

    void active(Long id);

    void patchInsert(List<Shop> shops);

    List<ShopDto> getEcharts();
}
